package com.etoak.web.sys_user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.etoak.web.sys_menu.entity.AssignTreeParm;
import com.etoak.web.sys_menu.entity.AssignTreeVo;
import com.etoak.web.sys_user.entity.SysUser;

/**
 * @Author by 孙有泽
 * @Date 2025/2/18 12:52
 * @Description
 */
public interface SysUserService extends IService<SysUser> {
    void saveUser(SysUser sysUser);

    void updateUser(SysUser sysUser);

    void deleteUser(String id);

    //查询菜单树
    AssignTreeVo getAssignTree(AssignTreeParm parm);

    SysUser loadUserByUsername(String username);
}
